// 帮助中心
export default [
  {
    path: "/helpArr",
    redirect: "/helpArr/helpList",
    alwaysShow: false, // will always show the root menu
    name: "helpArr",
    meta: {
      title: "帮助中心",
      icon: "icon-bangzhuzhonggxin",
      roles: ["admin"], // you can set roles in root nav
    },
    children: [
      {
        path: "/helpArr/helpList",
        component: () => import("@/views/helpArr/helpList.vue"),
        name: "/helpArrhelpList",
        meta: {
          title: "操作手册",
          roles: ["admin"],
        },
      },
      {
        path: "helpCheck",
        component: () => import("@/views/helpArr/helpCheck.vue"),
        name: "/helpCheck",
        meta: {
          title: "详情",
          roles: ["admin"], // or you can only set roles in sub nav
        },
        hidden: true,
      },
      {
        path: "/helpArr/probLem",
        // component: () => import("@/views/helpArr/probLem.vue"),
        component: () => import("@/views/helpArr/problem.vue"),
        name: "/helpArrprobLem",
        meta: {
          title: "常见问题",
          roles: ["admin"],
        },
      },
    ],
  },
];
